package com.whmskj.xjlhsc.mobie.empProPlan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.whmskj.xjlhsc.mobie.Scheduling.Dto.DcSchedulingQueryDto;
import com.whmskj.xjlhsc.mobie.Scheduling.entity.vo.DcSchedulingVo;
import com.whmskj.xjlhsc.mobie.empProPlan.entity.ProPersonnelStandConfirm;
import com.whmskj.xjlhsc.mobie.equipmentManage.entity.vo.CarBlockingVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 人员看台组长确认临时表
 *
 * @author lk
 * @since 2025-07-07 11:01:25
 *
 */
@Mapper
public interface ProPersonnelStandConfirmMapper extends BaseMapper<ProPersonnelStandConfirm> {
    /**
     * 查询挡车信息
     * @param id
     * @return
     */
    List<CarBlockingVo> selectCarBlockingVo(@Param(value = "id") Integer id,@Param(value = "shift") String shift);

    List<DcSchedulingVo> selectDcSchedulingList(@Param(value = "queryDto") DcSchedulingQueryDto queryDto,@Param(value = "isProduct") Integer isProduct);

    List<Map<String, Object>> selectSchedulingDate(@Param(value = "process") String process,
                                                   @Param(value = "startTime") String startTime,
                                                   @Param(value = "endTime") String endTime);

    List<Map<String, Object>> selecthackInHistory(Integer empId);

    // 分页筛选查询考勤确认记录
    com.baomidou.mybatisplus.extension.plugins.pagination.Page<Map<String, Object>>     selectPageWithFilter(
            com.baomidou.mybatisplus.extension.plugins.pagination.Page<Map<String, Object>> page,
            @Param("q") com.whmskj.xjlhsc.service.dto.ConfirmQuery q);
}